package com.shilin.watchsystem.mapper;

 import com.baomidou.mybatisplus.core.mapper.BaseMapper;
 import com.baomidou.mybatisplus.core.metadata.IPage;
 import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
 import com.shilin.watchsystem.entity.Product;
 import com.shilin.watchsystem.entity.Worder;
 import com.shilin.watchsystem.vo.OrderPageVo;

 import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author jobob
 * @since 2020-08-21
 */
public interface OrderMapper extends BaseMapper<Worder> {
    List<Worder> getByIp(String ip);

    IPage<OrderPageVo> page(Page<Worder> page);

    OrderPageVo select(Long id);
}
